package org.minuframework.file.upload.spring;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import org.minuframework.exception.ExceptionFailed;
import org.minuframework.file.upload.FileUploadType;
import org.springframework.web.multipart.MultipartFile;

@Deprecated
public abstract interface FileUploadFactory {
    public abstract String fileUpload(HttpServletRequest paramHttpServletRequest, FileUploadType paramFileUploadType) throws ExceptionFailed;
    
    public abstract List<String> fileUploadList(HttpServletRequest paramHttpServletRequest, FileUploadType paramFileUploadType)
            throws ExceptionFailed;
    
    public abstract String fileUpload(MultipartFile paramMultipartFile, FileUploadType paramFileUploadType) throws ExceptionFailed;
    
    public abstract List<String> fileUpload(List<MultipartFile> paramList, FileUploadType paramFileUploadType) throws ExceptionFailed;
}
